package com.msy.mai.launch.web.strategy;
import com.msy.mai.launch.web.entity.model.LoginBody;
import com.msy.mai.launch.web.entity.vo.UserLoginVO;
import com.msy.mai.module.system.entity.domain.SysClient;
import com.msy.mai.module.system.entity.vo.SysClientVo;

import java.io.IOException;

/**
 * 授权认证统一接口
 */
public interface TokenGranterStrategy {

    /**
     * 获取当前策略key
     */
    String getKey();

    /**
     * 统一登录
     */
    UserLoginVO login(String body, SysClientVo sysClient);

}
